# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xarchiver
pkgver=0.5.4.15
pkgrel=0
pkgdesc="GTK+ frontend to various command line archivers"
options="!check" # No testsuite
url="https://github.com/ib/xarchiver"
arch="all"
license="GPL-2.0-or-later"
depends="desktop-file-utils hicolor-icon-theme tar"
makedepends="intltool gtk+3.0-dev libxslt"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/ib/xarchiver/archive/$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--libexecdir=/usr/lib/xfce4
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="e5174241dd45dd6186d91b15a15b207a8b356480d9ce1a7b9ac2da167878cdb14316a3e7abf3f2aac8d41a02777df2131e205c7d5971a376ff7dd0ca70fbc82f  xarchiver-0.5.4.15.tar.gz"
